<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$admin_title}</title>
<include file="./core/Modules/Center/Tpl/Public/js_css_header.html" />
<script type="text/javascript">
	//XHEDITOR初始化
	$(pageInit);
	function pageInit(){
		$('#footer_cont').xheditor({tools:'FontSize,Bold,Italic,Underline,Strikethrough,FontColor,BackColor,|,Align,List,|,Hr,Table,|,Img,Flash,Emot,Source',upImgUrl:"__APP__/xh_upload.php",upImgExt:"jpg,jpeg,gif,png",skin:'nostyle'});
	}
</script>
</head>
<body>
	<include file="./core/Modules/Center/Tpl/Public/header.html" />
	<div class="cont_wrap">
		<div class="position">当前位置:&nbsp;<a href="__APP__/center/frame/index/">首页</a></div>
		<form name="formSubmit" action="__APP__/center/WebConfig/process/" method="post">
			<table width="100%" cellpadding="0" cellspacing="0" class="line">
				<tr height="20">
					<td align="center" width="18%" class="tabl_line_bg">当前程序版本</td>
					<td align="left">
						{$webConfig.version_number} <if condition="$webConfig.version_number eq $webConfig.latest_version_number">最新版本：暂时没有可升级文件<else/><span style="color:red;">这是一个&nbsp;<strong style="color:#51B148;">过时的版本</strong>，可在线轻松升级程序哟！</span></if>&nbsp;&nbsp;&nbsp;<a href="__APP__/center/upgrade/?step=1" class="coolbg">进行在线升级</a>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">服务器名称</td>
					<td align="left">
						操作系统： <php>echo PHP_OS;</php>&nbsp;名称 <php>echo $_SERVER['HTTP_HOST'];</php>(IP:<php>echo CommonUtil::get_server_ip();</php>) 端口:<php>echo  $_SERVER['SERVER_PORT'];</php>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">站点物理路径</td>
					<td align="left">
						<php>echo $_SERVER['DOCUMENT_ROOT'];</php>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">MYSQL组件</td>
					<td align="left">
						<if condition="$mysql == true"><span style="font-size:18px;color:green;">[√]</span><else/><span style="font-size:18px;color:red;">[×]</span></if><span style="color:gray;"> (不支持无法使用本系统)</span>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">GD组件</td>
					<td align="left">
						<if condition="$gd == true"><span style="font-size:18px;color:green;">[√]</span><else/><span style="font-size:18px;color:red;">[×]</span></if><span style="color:gray;"> (不支持将导致与图片相关的大多数功能无法使用或引发警告)</span>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">CURL组件</td>
					<td align="left">
						<if condition="$curl == true"><span style="font-size:18px;color:green;">[√]</span><else/><span style="font-size:18px;color:red;">[×]</span></if><span style="color:gray;"> (不符合要求将导致采集、远程资料本地化等功能无法应用)</span>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">服务器环境</td>
					<td align="left">
						<php>echo $_SERVER['SERVER_SOFTWARE'];</php>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">PHP运行方式</td>
					<td align="left">
						<php>echo php_sapi_name();</php>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">服务器操作系统</td>
					<td align="left">
						<php>if(PATH_SEPARATOR==':'){echo 'Linux';}else{echo 'Windows';}</php>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">MYSQL版本</td>
					<td align="left">
						<php>echo mysql_get_server_info();</php>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">剩余空间</td>
					<td align="left">
						<php>echo round((@disk_free_space(".") / (1024 * 1024)), 2) . 'M';</php>
					</td>
				</tr>
				<tr height="20">
					<td align="center" class="tabl_line_bg">回收站提示</td>
					<td align="left">
						共有<php>echo FolderUtil::setupSize(FolderUtil::dir_size("./uploads/temp/"));</php>垃圾文件&nbsp;&nbsp;&nbsp;&nbsp;<a href="__APP__/center/frame/clear_temp/" class="coolbg">立即清除</a>
					</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>
